package work.chenxr.knife4j.two.controller;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Chenxr
 * @Date 2023/09/11
 */
@Tag(name = "分组2")
@RestController
@RequestMapping("/two")
public class TestTwoController {

    @Operation(summary = "分组2测试")
    @ApiOperationSupport(order = 1, author = "陈星星")
    @GetMapping(value = "/test", produces = MediaType.APPLICATION_JSON_VALUE)
    public Object test() {
        return "分组2测试";
    }
}
